package cn.yshujia;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author YShuJia
 */
@SpringBootApplication
//开启定时任务
@EnableScheduling
@EnableAspectJAutoProxy
@MapperScans ({@MapperScan ("cn.yshujia.mapper")})

public class ServerApplication {
	public static void main(String[] args) {
		SpringApplication.run(ServerApplication.class, args);
	}
}

